<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>背景</title>
	<style>
		.bg {
			width: 500px;
			height: 500px;
			background: pink;
			background-image: url(bg.jpg); 
			/* 背景铺满 */
			background-repeat: no-repeat;  
			background-position: right top;	:  

		}
	</style>
</head>
<body>
	<div class="bg">
		
	</div>
</body>
</html>